# -*- coding: UTF-8 -*-
from django.forms import ModelForm
from .models import PlatForm
from django import forms
from myauth.models import PlatForm
#定义Node的Form,Form名字为 模式名+Form
class PlatForm_Form(ModelForm):
    #自定义ModelForm的内容
    class Meta:
        #该ModelForm参照Model: Node
        model = PlatForm
        #在Form中不显示node_signer这个字段
        # exclude = ['node_signer']
        #fields=['id','ip','ip_extra']
        exclude=[]
